]> dgit.raspbian.org Git - ostree.git/commitdiff
ci: Make fuse and libfuse-dev conditional for Debian Testing
authorXiaofeng Wang <henrywangxf@me.com>
Thu, 2 Apr 2026 03:36:20 +0000 (11:36 +0800)
committerXiaofeng Wang <henrywangxf@me.com>
Thu, 2 Apr 2026 03:36:20 +0000 (11:36 +0800)
The libfuse-dev and fuse (FUSE 2) packages have been removed from
Debian Testing (forky/sid). Move them out of the unconditional package
list and only install them on older Debian/Ubuntu versions that still
provide FUSE 2. FUSE 3 support is already handled via the libfuse3-dev
argument logic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
ci/gh-install.sh

index 76afbb676caa46f4e073cf6f8f88bdef0321e41f..da9f8c36bf57b03eb61b03b1a79a54507b01c07d 100755 (executable)
@@ -80,7 +80,6 @@ case "$ID" in
             e2fslibs-dev
             elfutils
             fsverity
-            fuse
             gnupg
             gobject-introspection
             gtk-doc-tools
@@ -89,7 +88,6 @@ case "$ID" in
             libavahi-client-dev
             libavahi-glib-dev
             libcap-dev
-            libfuse-dev
             libgirepository1.0-dev
             libglib2.0-dev
             libglib2.0-doc
@@ -144,6 +142,14 @@ case "$ID" in
                 ;;
         esac
 
+        # libfuse-dev (FUSE 2) has been removed from Debian Testing.
+        # Only install it on older versions that still provide it.
+        case "${VERSION_CODENAME:-}" in
+            (buster|bullseye|bookworm|focal|jammy|bionic)
+                PACKAGES+=(fuse libfuse-dev)
+                ;;
+        esac
+
         apt-get -y update
         apt-get -y install "${PACKAGES[@]}" "$@"
         ;;